package cc.autoapi.pucong.liteflow.design.mobal;


import cc.autoapi.pucong.liteflow.design.mobal.vo.ResultFiledVo;
import cc.autoapi.pucong.liteflow.design.mobal.vo.BasePageVo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author pucong
 */
public class ExeRunSqlResultPage implements Serializable {

    private static final long serialVersionUID = 1L;

    private BasePageVo<Map<String, Object>> execResultMapPage;

    private List<List<Object>> dataList = new ArrayList<>();

    private List<ResultFiledVo> filedList = new ArrayList<>();

    /**
     * 结果值
     */
    private BigDecimal resultInteger;

    /**
     * 执行耗时 秒
     */
    private Double execTime;

    /**
     * 执行信息
     */
    private String execMsg;

    /**
     * 执行code:0失败1成功
     */
    private Integer execStatus;

    public BasePageVo<Map<String, Object>> getExecResultMapPage() {
        return execResultMapPage;
    }

    public void setExecResultMapPage(BasePageVo<Map<String, Object>> execResultMapPage) {
        this.execResultMapPage = execResultMapPage;
    }

    public List<List<Object>> getDataList() {
        return dataList;
    }

    public void setDataList(List<List<Object>> dataList) {
        this.dataList = dataList;
    }

    public List<ResultFiledVo> getFiledList() {
        return filedList;
    }

    public void setFiledList(List<ResultFiledVo> filedList) {
        this.filedList = filedList;
    }

    public BigDecimal getResultInteger() {
        return resultInteger;
    }

    public void setResultInteger(BigDecimal resultInteger) {
        this.resultInteger = resultInteger;
    }

    public Double getExecTime() {
        return execTime;
    }

    public void setExecTime(Double execTime) {
        this.execTime = execTime;
    }

    public String getExecMsg() {
        return execMsg;
    }

    public void setExecMsg(String execMsg) {
        this.execMsg = execMsg;
    }

    public Integer getExecStatus() {
        return execStatus;
    }

    public void setExecStatus(Integer execStatus) {
        this.execStatus = execStatus;
    }
}
